<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript" src="/js/jquery.form.js"></script>
<link rel="stylesheet" href="/css/base.css" type="text/css">
<script type="text/javascript" src="/view/js/role/updateRole.js"></script>
</head>
<body>

<div class="addclass">
<div class="title">更新角色信息</div>
<form class="contact_form" id="updateForm" method="post" name="contact_form" >
			<input type="hidden" name="id" id="id" class="easyui-validatebox" hidden="true"/>
           <table class="table" style="BORDER-COLLAPSE: collapse;" border="1">
                 <tr>
					<th><label for="name">角色名称:</label></th>
					<td><input type="text" name="name" id="name" 
						 class="easyui-validatebox" data-options="required:true,missingMessage:'必填'" maxlength="16" onkeyup="this.value=this.value.replace(/\s+/ ,'')" style="width: 120px"/>
					</td>
				
					 <th><label for="name" >备注:</label></th>
					<td>
						<input type="text" name="remark" id="remark" class="easyui-validatebox" maxlength="32" onkeyup="this.value=this.value.replace(/\s+/ ,'')"/>
					</td>
					 <th><label for="name" >状态:</label></th>
					<td>
						<input id="status" name="status" class="easyui-combobox" data-options="validType:'printConfeigCombos'" type="text" style="width: 100px"/>
					</td>
				
				    <th><label for="name" >角色标识:<br> <font color="red" >( 服务商和代理商角色标识不可为空  )</font></label></th>
					<td>
						<input id="identifying" name="identifying" class="easyui-combobox"  type="text" style="width: 100px"/>
					</td>
				</tr>
				<tr align="left">
					<th colspan="8"><label for="name" >拥有权限：</label><div><ul id="tt" class="easyui-tree" ></ul></div></th>
				</tr>
			</table>
		</form>
	 
	<div class="linkbuts">
		<a id="btnsave" href="#" class="easyui-linkbutton" onclick="updateMerchant();" data-options="iconCls:'icon-save'">保存</a> 
		<a id="btnsave" href="#" class="easyui-linkbutton" onclick="javascript:history.back();" data-options="iconCls:'icon-save'">返回</a> 
	</div>
</div> 
 
</body>
</html>